package com.rongshu.view.home.contract;

import com.rongshu.view.base.mvp.INetBean;
import com.rongshu.view.base.mvp.IView;
import com.rongshu.view.home.entity.CommentDetails;
import com.rongshu.view.home.entity.CommentReplysBean;
import com.rongshu.view.home.entity.RecomendMsg;
import com.rongshu.view.home.entity.RecommendResponse;
import com.rongshu.view.home.entity.UserAttention;
import com.rongshu.view.home.entity.UserProps;
import com.rongshu.view.penpal.bean.PenpalResponse;

import java.util.List;

import io.reactivex.disposables.Disposable;
import okhttp3.ResponseBody;

public interface ArticleDetailsView extends IView {

    /**
     * 推荐语
     *
     * @param responseBeanList
     */
    void onRecomendMsg(List<RecomendMsg.ResponseBean> responseBeanList);

    /**
     * 评论
     */
    void onCommentMsg(List<CommentDetails.ResponseBean> responseBeanList);

    /**
     * 我的所有笔友会
     */
    void onPenpalWillMsg(List<PenpalResponse.ResponseBean> responseBeanList);

    /**
     * 获取我是否关注过某一个用户
     */
    void onIsConcernWith(UserAttention userAttention);

    /**
     * 关注
     */
    void onConcernWith(INetBean bean);

    /**
     * 获取用户道具卡数量
     */
    void onUserProps(UserProps userProps);

    /**
     * 读者推荐
     */
    void onPostRecommend(RecommendResponse recommendResponse);

    /**
     * 评论返回
     *
     * @param body
     */
    void onPostCommentOrReplyAdd(ResponseBody body);

    /**
     * 评论回复展开
     *
     * @param commentReplysBeans
     */
    void onOnecommentDetail(List<CommentReplysBean> commentReplysBeans);

    /**
     * 评论点赞
     *
     * @param iNetBean
     */
    void onCommentlike(INetBean iNetBean);

    void onRxjavaSubscribe(Disposable disposable);

    void onCallBackDealWithContent(String content);

    /**
     * 文章评论删除/回复删除
     */
    void onCommentOrReplyDelete(INetBean bean);
}